package com.ddwl.goods.model;

import lombok.Getter;
import lombok.Setter;

import java.time.Instant;

/**
 * @author Fu Zhaohui
 * @version 1.0.0
 * @date 2019/7/15 12:58
 */
@Setter
@Getter
public class History {

    private String id;

    private String userId;

    private String itemId;

    private String skuId;

    private Item item;

    /**
     * 创建时间
     */
    private Instant gmtCreated;

    public History(String id, String userId, String itemId, String skuId) {
        this.id = id;
        this.userId = userId;
        this.itemId = itemId;
        this.skuId = skuId;
    }
}
